using System;
using System.Data;



namespace Crm2011.Connect
{
  class DataValidationException : ApplicationException
  {
    public DataValidationException(DataColumn column, string message)
      : base(message)
    {
      _column = column;
    }

    public DataValidationException(string tag, string message)
      : base(message)
    {
      _tag = tag;
    }

    private readonly DataColumn _column;
    private readonly string _tag;

    public DataColumn Column { get { return _column; } }
    public string Tag { get { return _tag; } }
  }
}
